package com.hzit.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.hzit.api")
@ComponentScan(basePackages = {"com.hzit.consumer", "com.hzit.api.client"})
public class AppMainFeign80 {

    public static void main(String[] args) {
        SpringApplication.run(AppMainFeign80.class, args);
    }
}
